package com.flynn.rock.system.model.request;

import com.flynn.rock.enums.system.UserStatus;
import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class SaveUserRequest {

    private Long userId;

    @NotBlank(message = "姓名不能为空")
    private String realName;

    private String gender;

    private Integer age;

    @NotBlank(message = "电话不能为空")
    private String phone;

    @Email
    private String email;

    private UserStatus status = UserStatus.incumbency;

    private String remark;
}
